package cn.itcast.demo.pojo;

public class Test {
    public static void main(String[] args) throws CloneNotSupportedException {
        Student student = new Student();
        student.setId("10086");
        student.setName("liudehua");

        System.out.println("student = " + student);

        System.out.println("student = " + student.getName());
        Student clone = (Student) student.clone();

        System.out.println("clone = " + clone.getName());

    }
}
